package com.tank.demo.chainOfResponsibility;

import com.tank.demo.abstractFactory.BaseGameObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 责任链模式
 */
public interface Collider {
    boolean collide(BaseGameObject o1,BaseGameObject o2);
}
